import java.awt.*;

// 铁工厂
class IronFactory implements GameElementFactory {
    public GameElement createElement(int x, int y) {
        return new Iron(x, y, 14, new Color(139, 69, 19), 5, 8f);
    }

    @Override
    public float getSpawnWeight() {
        return 0.4f;
    }
}
